﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    /// <summary>
    /// 用户信息
    /// </summary>
    [Table("AA002")]
    public class EntityUserInfo:EntityBase
    {
        /// <summary>
        /// 用户名
        /// </summary>
        [Column("AA02")]
        [Required]
        [StringLength(50)]
        public string? Name { get; set; }

        [ForeignKey("P01")]
        public List<EntityAddName>? AddName { get; set; }


    }
}
